﻿<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

	<PropertyGroup>
		<RootDir>$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Funq.sln))</RootDir>
		<SignAssembly>true</SignAssembly>
		<DelaySign>false</DelaySign>
		<DebugSymbols>true</DebugSymbols>
		<DebugType>full</DebugType>
		<BinariesFolder>$(RootDir)Binaries</BinariesFolder>
		<DocumentationFile Condition="!$(AssemblyName.Contains('Test'))">$(OutDir)$(AssemblyName).xml</DocumentationFile>
		<CIKey>$(RootDir)Funq.CI.snk</CIKey>
		<DropKey>$(RootDir)Funq.snk</DropKey>
		<AssemblyOriginatorKeyFile Condition="Exists($(CIKey))">$(CIKey)</AssemblyOriginatorKeyFile>
		<AssemblyOriginatorKeyFile Condition="Exists($(DropKey))">$(DropKey)</AssemblyOriginatorKeyFile>
		<!-- .NET 2.0 -->
		<DefineConstants Condition=" '$(TargetFrameworkVersion)' == 'v2.0' ">$(DefineConstants);NET20</DefineConstants>
		<!-- .NET 3.5 -->
		<DefineConstants Condition=" '$(TargetFrameworkVersion)' == 'v3.5' ">$(DefineConstants);NET3x</DefineConstants>
		<!-- .NET 4.0, SL 4.0 & WP7 -->
		<DefineConstants Condition=" '$(TargetFrameworkVersion)' == 'v4.0' ">$(DefineConstants);NET40</DefineConstants>
		<!-- SL 3 -->
		<DefineConstants Condition=" '$(TargetFrameworkVersion)' == 'v3.0' ">$(DefineConstants);NET3x</DefineConstants>
		
		
		<!--
		Common
       <TargetFrameworkIdentifier Condition="'$(TargetFrameworkIdentifier)' == ''">.NETFramework</TargetFrameworkIdentifier>
		
		SL
		<TargetFrameworkVersion>vX.0</TargetFrameworkVersion>
		<TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
		
		WP7
		<TargetFrameworkProfile>WindowsPhone</TargetFrameworkProfile>
		<TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
		-->
	</PropertyGroup>

	<!-- T4 -->
	<PropertyGroup Condition="'$(Configuration)' == 'Release'">
		<TransformOnBuild>true</TransformOnBuild>
		<OverwriteReadOnlyOutputFiles>true</OverwriteReadOnlyOutputFiles>
		<BeforeTransform>CopyPublicKeyInclude</BeforeTransform>
	</PropertyGroup>

</Project>